﻿using System;

namespace XmlDatabase.Core
{
    public class XSubmitStatus
    {
        private String _message;
        private Boolean _error;

        public bool HasError { get => this._error; }
        public string Message { get => this._message; }

        private XSubmitStatus(){}
        internal XSubmitStatus(Boolean error,String message)
        {
            this._error = error;
            this._message = message;
        }
    }
}
